package cn.ilikes.tools.nosql.jpa.configs.indexs;

import java.net.URL;

public class IndexFactoryImples implements IIndexFactorys {

	public IndexConfigs paserConfig(String configfile) throws IndexRunTimeException {
		PaserConfigs paserConfigs = new DefaultPaserConfigs();
		URL url = Thread.currentThread().getContextClassLoader().getResource(configfile);
		IndexConfigs indexConfigs = paserConfigs.paserConfigs(url);
		return indexConfigs;

	}

}
